package pojo;

import javafx.beans.property.SimpleObjectProperty;
import javafx.beans.property.SimpleStringProperty;
import javafx.beans.property.StringProperty;
import javafx.beans.value.ObservableValue;

public class huiyuan {
    private String id;
    private String name;
    private String createtime;
    private String downtime;
    private String bankaqingkuang;

    public huiyuan(String id, String name, String createtime, String downtime, String bankaqingkuang) {
        this.id = id;
        this.name = name;
        this.createtime = createtime;
        this.downtime = downtime;
        this.bankaqingkuang = bankaqingkuang;
    }

    public ObservableValue<String> nameProperty() {
        return new SimpleStringProperty(name);
    }

    public ObservableValue<String> idProperty() {
        return new SimpleObjectProperty<>(id);
    }

    public ObservableValue<String> createtimeProperty() {
        return new SimpleObjectProperty<>(createtime);
    }

    public ObservableValue<String> bankaqingkuangProperty() {
        return new SimpleStringProperty(bankaqingkuang);
    }
    public ObservableValue<String> downtimeProperty() {
        return new SimpleStringProperty(downtime);
    }

}
